#define _CRT_SECURE_NO_WARNINGS 1

#include "slist.h"

SListNode* plist = NULL;

void test()
{

	SListPushBack(&plist, 5);
	SListPushBack(&plist, 4);
	SListPushBack(&plist, 4);
	SListPushBack(&plist, 4);
	SListPushBack(&plist, 4);
	SListPushFront(&plist,6);
	/*SListPrint(plist);
	printf("\n");*/
	SListPopFront(&plist);
	SListPopBack(&plist);
	SListPopBack(&plist);
	SListPrint(plist);

}

int main()

{

	test();
	return 0;
}